<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <canvas id="canvas" width="500" height="400"></canvas>
    
</body>
<script id = "vertex-shader" type="notjs">
    attribute vec4 a_position;
    attribute vec2 a_texture; 
    varying vec2 v_texture;
    uniform float u_float;
    void main() {
        gl_Position = a_position;
        v_texture = vec2(a_texture.x + u_float, a_texture.y);
    }
</script>
<script id = "fragment-shader" type="notjs">
    precision mediump float;
    varying vec2 v_texture;
    uniform sampler2D u_sampler;

    void main() {
        gl_FragColor = texture2D(u_sampler, v_texture);
    }
</script>
<script src="../utils.js"></script>
<script src="./slide.js"></script>
</html>